const cityInfo: any = {
    石家庄市: {
        city_code: '130100',
        province: '河北省',
    },
    唐山市: {
        city_code: '130200',
        province: '河北省',
    },
    秦皇岛市: {
        city_code: '130300',
        province: '河北省',
    },
    邯郸市: {
        city_code: '130400',
        province: '河北省',
    },
    邢台市: {
        city_code: '130500',
        province: '河北省',
    },
    保定市: {
        city_code: '130600',
        province: '河北省',
    },
    张家口市: {
        city_code: '130700',
        province: '河北省',
    },
    承德市: {
        city_code: '130800',
        province: '河北省',
    },
    沧州市: {
        city_code: '130900',
        province: '河北省',
    },
    廊坊市: {
        city_code: '131000',
        province: '河北省',
    },
    衡水市: {
        city_code: '131100',
        province: '河北省',
    },
    北京市: {
        city_code: '110000',
        province: '北京市',
    },
    天津市: {
        city_code: '120000',
        province: '天津市',
    },
    太原市: {
        city_code: '140100',
        province: '山西省',
    },
    大同市: {
        city_code: '140200',
        province: '山西省',
    },
    阳泉市: {
        city_code: '140300',
        province: '山西省',
    },
    长治市: {
        city_code: '140400',
        province: '山西省',
    },
    晋城市: {
        city_code: '140500',
        province: '山西省',
    },
    朔州市: {
        city_code: '140600',
        province: '山西省',
    },
    晋中市: {
        city_code: '140700',
        province: '山西省',
    },
    运城市: {
        city_code: '140800',
        province: '山西省',
    },
    忻州市: {
        city_code: '140900',
        province: '山西省',
    },
    临汾市: {
        city_code: '141000',
        province: '山西省',
    },
    吕梁市: {
        city_code: '141100',
        province: '山西省',
    },
    呼和浩特市: {
        city_code: '150100',
        province: '内蒙古自治区',
    },
    包头市: {
        city_code: '150200',
        province: '内蒙古自治区',
    },
    乌海市: {
        city_code: '150300',
        province: '内蒙古自治区',
    },
    赤峰市: {
        city_code: '150400',
        province: '内蒙古自治区',
    },
    通辽市: {
        city_code: '150500',
        province: '内蒙古自治区',
    },
    鄂尔多斯市: {
        city_code: '150600',
        province: '内蒙古自治区',
    },
    呼伦贝尔市: {
        city_code: '150700',
        province: '内蒙古自治区',
    },
    巴彦淖尔市: {
        city_code: '150800',
        province: '内蒙古自治区',
    },
    乌兰察布市: {
        city_code: '150900',
        province: '内蒙古自治区',
    },
    呼伦贝尔盟: {
        city_code: '152100',
        province: '内蒙古自治区',
    },
    兴安盟: {
        city_code: '152200',
        province: '内蒙古自治区',
    },
    哲里木盟: {
        city_code: '152300',
        province: '内蒙古自治区',
    },
    昭乌达盟: {
        city_code: '152400',
        province: '内蒙古自治区',
    },
    锡林郭勒盟: {
        city_code: '152500',
        province: '内蒙古自治区',
    },
    乌兰察布盟: {
        city_code: '152600',
        province: '内蒙古自治区',
    },
    伊克昭盟: {
        city_code: '152700',
        province: '内蒙古自治区',
    },
    巴彦淖尔盟: {
        city_code: '152800',
        province: '内蒙古自治区',
    },
    阿拉善盟: {
        city_code: '152900',
        province: '内蒙古自治区',
    },
    沈阳市: {
        city_code: '210100',
        province: '辽宁省',
    },
    大连市: {
        city_code: '210200',
        province: '辽宁省',
    },
    鞍山市: {
        city_code: '210300',
        province: '辽宁省',
    },
    抚顺市: {
        city_code: '210400',
        province: '辽宁省',
    },
    本溪市: {
        city_code: '210500',
        province: '辽宁省',
    },
    丹东市: {
        city_code: '210600',
        province: '辽宁省',
    },
    锦州市: {
        city_code: '210700',
        province: '辽宁省',
    },
    营口市: {
        city_code: '210800',
        province: '辽宁省',
    },
    阜新市: {
        city_code: '210900',
        province: '辽宁省',
    },
    辽阳市: {
        city_code: '211000',
        province: '辽宁省',
    },
    盘锦市: {
        city_code: '211100',
        province: '辽宁省',
    },
    铁岭市: {
        city_code: '211200',
        province: '辽宁省',
    },
    朝阳市: {
        city_code: '211300',
        province: '辽宁省',
    },
    葫芦岛市: {
        city_code: '211400',
        province: '辽宁省',
    },
    长春市: {
        city_code: '220100',
        province: '吉林省',
    },
    吉林市: {
        city_code: '220200',
        province: '吉林省',
    },
    四平市: {
        city_code: '220300',
        province: '吉林省',
    },
    辽源市: {
        city_code: '220400',
        province: '吉林省',
    },
    通化市: {
        city_code: '220500',
        province: '吉林省',
    },
    白山市: {
        city_code: '220600',
        province: '吉林省',
    },
    松原市: {
        city_code: '220700',
        province: '吉林省',
    },
    白城市: {
        city_code: '220800',
        province: '吉林省',
    },
    哈尔滨市: {
        city_code: '230100',
        province: '黑龙江省',
    },
    齐齐哈尔市: {
        city_code: '230200',
        province: '黑龙江省',
    },
    鸡西市: {
        city_code: '230300',
        province: '黑龙江省',
    },
    鹤岗市: {
        city_code: '230400',
        province: '黑龙江省',
    },
    双鸭山市: {
        city_code: '230500',
        province: '黑龙江省',
    },
    大庆市: {
        city_code: '230600',
        province: '黑龙江省',
    },
    伊春市: {
        city_code: '230700',
        province: '黑龙江省',
    },
    佳木斯市: {
        city_code: '230800',
        province: '黑龙江省',
    },
    七台河市: {
        city_code: '230900',
        province: '黑龙江省',
    },
    牡丹江市: {
        city_code: '231000',
        province: '黑龙江省',
    },
    黑河市: {
        city_code: '231100',
        province: '黑龙江省',
    },
    绥化市: {
        city_code: '231200',
        province: '黑龙江省',
    },
    上海市: {
        city_code: '310000',
        province: '上海市',
    },
    南京市: {
        city_code: '320100',
        province: '江苏省',
    },
    无锡市: {
        city_code: '320200',
        province: '江苏省',
    },
    徐州市: {
        city_code: '320300',
        province: '江苏省',
    },
    常州市: {
        city_code: '320400',
        province: '江苏省',
    },
    苏州市: {
        city_code: '320500',
        province: '江苏省',
    },
    南通市: {
        city_code: '320600',
        province: '江苏省',
    },
    连云港市: {
        city_code: '320700',
        province: '江苏省',
    },
    淮安市: {
        city_code: '320800',
        province: '江苏省',
    },
    盐城市: {
        city_code: '320900',
        province: '江苏省',
    },
    扬州市: {
        city_code: '321000',
        province: '江苏省',
    },
    镇江市: {
        city_code: '321100',
        province: '江苏省',
    },
    泰州市: {
        city_code: '321200',
        province: '江苏省',
    },
    宿迁市: {
        city_code: '321300',
        province: '江苏省',
    },
    杭州市: {
        city_code: '330100',
        province: '浙江省',
    },
    宁波市: {
        city_code: '330200',
        province: '浙江省',
    },
    温州市: {
        city_code: '330300',
        province: '浙江省',
    },
    嘉兴市: {
        city_code: '330400',
        province: '浙江省',
    },
    湖州市: {
        city_code: '330500',
        province: '浙江省',
    },
    绍兴市: {
        city_code: '330600',
        province: '浙江省',
    },
    金华市: {
        city_code: '330700',
        province: '浙江省',
    },
    衢州市: {
        city_code: '330800',
        province: '浙江省',
    },
    舟山市: {
        city_code: '330900',
        province: '浙江省',
    },
    台州市: {
        city_code: '331000',
        province: '浙江省',
    },
    丽水市: {
        city_code: '331100',
        province: '浙江省',
    },
    合肥市: {
        city_code: '340100',
        province: '安徽省',
    },
    芜湖市: {
        city_code: '340200',
        province: '安徽省',
    },
    蚌埠市: {
        city_code: '340300',
        province: '安徽省',
    },
    淮南市: {
        city_code: '340400',
        province: '安徽省',
    },
    马鞍山市: {
        city_code: '340500',
        province: '安徽省',
    },
    淮北市: {
        city_code: '340600',
        province: '安徽省',
    },
    铜陵市: {
        city_code: '340700',
        province: '安徽省',
    },
    安庆市: {
        city_code: '340800',
        province: '安徽省',
    },
    黄山市: {
        city_code: '341000',
        province: '安徽省',
    },
    滁州市: {
        city_code: '341100',
        province: '安徽省',
    },
    阜阳市: {
        city_code: '341200',
        province: '安徽省',
    },
    宿州市: {
        city_code: '341300',
        province: '安徽省',
    },
    巢湖市: {
        city_code: '341400',
        province: '安徽省',
    },
    六安市: {
        city_code: '341500',
        province: '安徽省',
    },
    亳州市: {
        city_code: '341600',
        province: '安徽省',
    },
    池州市: {
        city_code: '341700',
        province: '安徽省',
    },
    宣城市: {
        city_code: '341800',
        province: '安徽省',
    },
    福州市: {
        city_code: '350100',
        province: '福建省',
    },
    厦门市: {
        city_code: '350200',
        province: '福建省',
    },
    莆田市: {
        city_code: '350300',
        province: '福建省',
    },
    三明市: {
        city_code: '350400',
        province: '福建省',
    },
    泉州市: {
        city_code: '350500',
        province: '福建省',
    },
    漳州市: {
        city_code: '350600',
        province: '福建省',
    },
    南平市: {
        city_code: '350700',
        province: '福建省',
    },
    龙岩市: {
        city_code: '350800',
        province: '福建省',
    },
    宁德市: {
        city_code: '350900',
        province: '福建省',
    },
    南昌市: {
        city_code: '360100',
        province: '江西省',
    },
    景德镇市: {
        city_code: '360200',
        province: '江西省',
    },
    萍乡市: {
        city_code: '360300',
        province: '江西省',
    },
    九江市: {
        city_code: '360400',
        province: '江西省',
    },
    新余市: {
        city_code: '360500',
        province: '江西省',
    },
    鹰潭市: {
        city_code: '360600',
        province: '江西省',
    },
    赣州市: {
        city_code: '360700',
        province: '江西省',
    },
    吉安市: {
        city_code: '360800',
        province: '江西省',
    },
    宜春市: {
        city_code: '360900',
        province: '江西省',
    },
    抚州市: {
        city_code: '361000',
        province: '江西省',
    },
    上饶市: {
        city_code: '361100',
        province: '江西省',
    },
    济南市: {
        city_code: '370100',
        province: '山东省',
    },
    青岛市: {
        city_code: '370200',
        province: '山东省',
    },
    淄博市: {
        city_code: '370300',
        province: '山东省',
    },
    枣庄市: {
        city_code: '370400',
        province: '山东省',
    },
    东营市: {
        city_code: '370500',
        province: '山东省',
    },
    烟台市: {
        city_code: '370600',
        province: '山东省',
    },
    潍坊市: {
        city_code: '370700',
        province: '山东省',
    },
    济宁市: {
        city_code: '370800',
        province: '山东省',
    },
    泰安市: {
        city_code: '370900',
        province: '山东省',
    },
    威海市: {
        city_code: '371000',
        province: '山东省',
    },
    日照市: {
        city_code: '371100',
        province: '山东省',
    },
    莱芜市: {
        city_code: '371200',
        province: '山东省',
    },
    临沂市: {
        city_code: '371300',
        province: '山东省',
    },
    德州市: {
        city_code: '371400',
        province: '山东省',
    },
    聊城市: {
        city_code: '371500',
        province: '山东省',
    },
    滨州市: {
        city_code: '371600',
        province: '山东省',
    },
    菏泽市: {
        city_code: '371700',
        province: '山东省',
    },
    郑州市: {
        city_code: '410100',
        province: '河南省',
    },
    开封市: {
        city_code: '410200',
        province: '河南省',
    },
    洛阳市: {
        city_code: '410300',
        province: '河南省',
    },
    平顶山市: {
        city_code: '410400',
        province: '河南省',
    },
    安阳市: {
        city_code: '410500',
        province: '河南省',
    },
    鹤壁市: {
        city_code: '410600',
        province: '河南省',
    },
    新乡市: {
        city_code: '410700',
        province: '河南省',
    },
    焦作市: {
        city_code: '410800',
        province: '河南省',
    },
    濮阳市: {
        city_code: '410900',
        province: '河南省',
    },
    许昌市: {
        city_code: '411000',
        province: '河南省',
    },
    漯河市: {
        city_code: '411100',
        province: '河南省',
    },
    三门峡市: {
        city_code: '411200',
        province: '河南省',
    },
    南阳市: {
        city_code: '411300',
        province: '河南省',
    },
    商丘市: {
        city_code: '411400',
        province: '河南省',
    },
    信阳市: {
        city_code: '411500',
        province: '河南省',
    },
    周口市: {
        city_code: '411600',
        province: '河南省',
    },
    驻马店市: {
        city_code: '411700',
        province: '河南省',
    },
    武汉市: {
        city_code: '420100',
        province: '湖北省',
    },
    黄石市: {
        city_code: '420200',
        province: '湖北省',
    },
    十堰市: {
        city_code: '420300',
        province: '湖北省',
    },
    沙市市: {
        city_code: '420400',
        province: '湖北省',
    },
    宜昌市: {
        city_code: '420500',
        province: '湖北省',
    },
    襄阳市: {
        city_code: '420600',
        province: '湖北省',
    },
    鄂州市: {
        city_code: '420700',
        province: '湖北省',
    },
    荆门市: {
        city_code: '420800',
        province: '湖北省',
    },
    孝感市: {
        city_code: '420900',
        province: '湖北省',
    },
    荆州市: {
        city_code: '421000',
        province: '湖北省',
    },
    黄冈市: {
        city_code: '421100',
        province: '湖北省',
    },
    咸宁市: {
        city_code: '421200',
        province: '湖北省',
    },
    随州市: {
        city_code: '421300',
        province: '湖北省',
    },
    恩施土家族苗族自治州: {
        city_code: '422800',
        province: '湖北省',
    },
    长沙市: {
        city_code: '430100',
        province: '湖南省',
    },
    株洲市: {
        city_code: '430200',
        province: '湖南省',
    },
    湘潭市: {
        city_code: '430300',
        province: '湖南省',
    },
    衡阳市: {
        city_code: '430400',
        province: '湖南省',
    },
    邵阳市: {
        city_code: '430500',
        province: '湖南省',
    },
    岳阳市: {
        city_code: '430600',
        province: '湖南省',
    },
    常德市: {
        city_code: '430700',
        province: '湖南省',
    },
    张家界市: {
        city_code: '430800',
        province: '湖南省',
    },
    益阳市: {
        city_code: '432300',
        province: '湖南省',
    },
    郴州市: {
        city_code: '431000',
        province: '湖南省',
    },
    永州市: {
        city_code: '431100',
        province: '湖南省',
    },
    怀化市: {
        city_code: '431200',
        province: '湖南省',
    },
    娄底市: {
        city_code: '431300',
        province: '湖南省',
    },
    湘西土家族苗族自治州: {
        city_code: '433100',
        province: '湖南省',
    },
    广州市: {
        city_code: '440100',
        province: '广东省',
    },
    韶关市: {
        city_code: '440200',
        province: '广东省',
    },
    深圳市: {
        city_code: '440300',
        province: '广东省',
    },
    珠海市: {
        city_code: '440400',
        province: '广东省',
    },
    汕头市: {
        city_code: '440500',
        province: '广东省',
    },
    佛山市: {
        city_code: '440600',
        province: '广东省',
    },
    江门市: {
        city_code: '440700',
        province: '广东省',
    },
    湛江市: {
        city_code: '440800',
        province: '广东省',
    },
    茂名市: {
        city_code: '440900',
        province: '广东省',
    },
    海口市: {
        city_code: '460100',
        province: '海南省',
    },
    肇庆市: {
        city_code: '441200',
        province: '广东省',
    },
    惠州市: {
        city_code: '441300',
        province: '广东省',
    },
    梅州市: {
        city_code: '441400',
        province: '广东省',
    },
    汕尾市: {
        city_code: '441500',
        province: '广东省',
    },
    河源市: {
        city_code: '441600',
        province: '广东省',
    },
    阳江市: {
        city_code: '441700',
        province: '广东省',
    },
    清远市: {
        city_code: '441800',
        province: '广东省',
    },
    东莞市: {
        city_code: '441900',
        province: '广东省',
    },
    中山市: {
        city_code: '442000',
        province: '广东省',
    },
    海南行政区: {
        city_code: '442100',
        province: '广东省',
    },
    三亚市: {
        city_code: '460200',
        province: '海南省',
    },
    潮州市: {
        city_code: '445100',
        province: '广东省',
    },
    揭阳市: {
        city_code: '445200',
        province: '广东省',
    },
    云浮市: {
        city_code: '445300',
        province: '广东省',
    },
    南宁市: {
        city_code: '450100',
        province: '广西壮族自治区',
    },
    柳州市: {
        city_code: '450200',
        province: '广西壮族自治区',
    },
    桂林市: {
        city_code: '450300',
        province: '广西壮族自治区',
    },
    梧州市: {
        city_code: '450400',
        province: '广西壮族自治区',
    },
    北海市: {
        city_code: '450500',
        province: '广西壮族自治区',
    },
    防城港市: {
        city_code: '450600',
        province: '广西壮族自治区',
    },
    钦州市: {
        city_code: '450700',
        province: '广西壮族自治区',
    },
    贵港市: {
        city_code: '450800',
        province: '广西壮族自治区',
    },
    玉林市: {
        city_code: '450900',
        province: '广西壮族自治区',
    },
    百色市: {
        city_code: '451000',
        province: '广西壮族自治区',
    },
    贺州市: {
        city_code: '451100',
        province: '广西壮族自治区',
    },
    河池市: {
        city_code: '451200',
        province: '广西壮族自治区',
    },
    来宾市: {
        city_code: '451300',
        province: '广西壮族自治区',
    },
    崇左市: {
        city_code: '451400',
        province: '广西壮族自治区',
    },
    三沙市: {
        city_code: '460300',
        province: '海南省',
    },
    重庆市: {
        city_code: '500000',
        province: '重庆市',
    },
    成都市: {
        city_code: '510100',
        province: '四川省',
    },
    自贡市: {
        city_code: '510300',
        province: '四川省',
    },
    攀枝花市: {
        city_code: '510400',
        province: '四川省',
    },
    泸州市: {
        city_code: '510500',
        province: '四川省',
    },
    德阳市: {
        city_code: '510600',
        province: '四川省',
    },
    绵阳市: {
        city_code: '510700',
        province: '四川省',
    },
    广元市: {
        city_code: '510800',
        province: '四川省',
    },
    遂宁市: {
        city_code: '510900',
        province: '四川省',
    },
    内江市: {
        city_code: '511000',
        province: '四川省',
    },
    乐山市: {
        city_code: '511100',
        province: '四川省',
    },
    南充市: {
        city_code: '511300',
        province: '四川省',
    },
    眉山市: {
        city_code: '511400',
        province: '四川省',
    },
    宜宾市: {
        city_code: '511500',
        province: '四川省',
    },
    广安市: {
        city_code: '511600',
        province: '四川省',
    },
    达州市: {
        city_code: '511700',
        province: '四川省',
    },
    雅安市: {
        city_code: '511800',
        province: '四川省',
    },
    巴中市: {
        city_code: '511900',
        province: '四川省',
    },
    资阳市: {
        city_code: '512000',
        province: '四川省',
    },
    阿坝藏族羌族自治州: {
        city_code: '513200',
        province: '四川省',
    },
    甘孜藏族自治州: {
        city_code: '513300',
        province: '四川省',
    },
    凉山彝族自治州: {
        city_code: '513400',
        province: '四川省',
    },
    贵阳市: {
        city_code: '520100',
        province: '贵州省',
    },
    六盘水市: {
        city_code: '520200',
        province: '贵州省',
    },
    遵义市: {
        city_code: '520300',
        province: '贵州省',
    },
    安顺市: {
        city_code: '520400',
        province: '贵州省',
    },
    毕节市: {
        city_code: '520500',
        province: '贵州省',
    },
    铜仁市: {
        city_code: '520600',
        province: '贵州省',
    },
    黔西南布依族苗族自治州: {
        city_code: '522300',
        province: '贵州省',
    },
    黔东南苗族侗族自治州: {
        city_code: '522600',
        province: '贵州省',
    },
    黔南布依族苗族自治州: {
        city_code: '522700',
        province: '贵州省',
    },
    昆明市: {
        city_code: '530100',
        province: '云南省',
    },
    东川市: {
        city_code: '530200',
        province: '云南省',
    },
    曲靖市: {
        city_code: '530300',
        province: '云南省',
    },
    玉溪市: {
        city_code: '530400',
        province: '云南省',
    },
    保山市: {
        city_code: '530500',
        province: '云南省',
    },
    昭通市: {
        city_code: '530600',
        province: '云南省',
    },
    丽江市: {
        city_code: '530700',
        province: '云南省',
    },
    普洱市: {
        city_code: '530800',
        province: '云南省',
    },
    临沧市: {
        city_code: '530900',
        province: '云南省',
    },
    楚雄彝族自治州: {
        city_code: '532300',
        province: '云南省',
    },
    红河哈尼族彝族自治州: {
        city_code: '532500',
        province: '云南省',
    },
    文山壮族苗族自治州: {
        city_code: '532600',
        province: '云南省',
    },
    西双版纳傣族自治州: {
        city_code: '532800',
        province: '云南省',
    },
    大理白族自治州: {
        city_code: '532900',
        province: '云南省',
    },
    德宏傣族景颇族自治州: {
        city_code: '533100',
        province: '云南省',
    },
    怒江傈僳族自治州: {
        city_code: '533300',
        province: '云南省',
    },
    迪庆藏族自治州: {
        city_code: '533400',
        province: '云南省',
    },
    拉萨市: {
        city_code: '540100',
        province: '西藏自治区',
    },
    日喀则市: {
        city_code: '540200',
        province: '西藏自治区',
    },
    西安市: {
        city_code: '610100',
        province: '陕西省',
    },
    铜川市: {
        city_code: '610200',
        province: '陕西省',
    },
    宝鸡市: {
        city_code: '610300',
        province: '陕西省',
    },
    咸阳市: {
        city_code: '610400',
        province: '陕西省',
    },
    渭南市: {
        city_code: '610500',
        province: '陕西省',
    },
    延安市: {
        city_code: '610600',
        province: '陕西省',
    },
    汉中市: {
        city_code: '612300',
        province: '陕西省',
    },
    榆林市: {
        city_code: '610800',
        province: '陕西省',
    },
    安康市: {
        city_code: '610900',
        province: '陕西省',
    },
    商洛市: {
        city_code: '611000',
        province: '陕西省',
    },
    兰州市: {
        city_code: '620100',
        province: '甘肃省',
    },
    嘉峪关市: {
        city_code: '620200',
        province: '甘肃省',
    },
    金昌市: {
        city_code: '620300',
        province: '甘肃省',
    },
    白银市: {
        city_code: '620400',
        province: '甘肃省',
    },
    天水市: {
        city_code: '620500',
        province: '甘肃省',
    },
    武威市: {
        city_code: '620600',
        province: '甘肃省',
    },
    张掖市: {
        city_code: '620700',
        province: '甘肃省',
    },
    平凉市: {
        city_code: '620800',
        province: '甘肃省',
    },
    酒泉市: {
        city_code: '620900',
        province: '甘肃省',
    },
    庆阳市: {
        city_code: '621000',
        province: '甘肃省',
    },
    定西市: {
        city_code: '621100',
        province: '甘肃省',
    },
    陇南市: {
        city_code: '621200',
        province: '甘肃省',
    },
    临夏回族自治州: {
        city_code: '622900',
        province: '甘肃省',
    },
    甘南藏族自治州: {
        city_code: '623000',
        province: '甘肃省',
    },
    西宁市: {
        city_code: '630100',
        province: '青海省',
    },
    海东市: {
        city_code: '630200',
        province: '青海省',
    },
    海北藏族自治州: {
        city_code: '632200',
        province: '青海省',
    },
    黄南藏族自治州: {
        city_code: '632300',
        province: '青海省',
    },
    海南藏族自治州: {
        city_code: '632500',
        province: '青海省',
    },
    果洛藏族自治州: {
        city_code: '632600',
        province: '青海省',
    },
    玉树藏族自治州: {
        city_code: '632700',
        province: '青海省',
    },
    海西蒙古族藏族自治州: {
        city_code: '632800',
        province: '青海省',
    },
    银川市: {
        city_code: '640100',
        province: '宁夏回族自治区',
    },
    石嘴山市: {
        city_code: '640200',
        province: '宁夏回族自治区',
    },
    吴忠市: {
        city_code: '640300',
        province: '宁夏回族自治区',
    },
    固原市: {
        city_code: '640400',
        province: '宁夏回族自治区',
    },
    中卫市: {
        city_code: '640500',
        province: '宁夏回族自治区',
    },
    乌鲁木齐市: {
        city_code: '650100',
        province: '新疆维吾尔自治区',
    },
    克拉玛依市: {
        city_code: '650200',
        province: '新疆维吾尔自治区',
    },
    石河子市: {
        city_code: '650300',
        province: '新疆维吾尔自治区',
    },
    昌吉回族自治州: {
        city_code: '652300',
        province: '新疆维吾尔自治区',
    },
    伊犁哈萨克自治州: {
        city_code: '654000',
        province: '新疆维吾尔自治区',
    },
    博尔塔拉蒙古自治州: {
        city_code: '652700',
        province: '新疆维吾尔自治区',
    },
    巴音郭楞蒙古自治州: {
        city_code: '652800',
        province: '新疆维吾尔自治区',
    },
    克孜勒苏柯尔克孜自治州: {
        city_code: '653000',
        province: '新疆维吾尔自治区',
    },
    自治区直辖县级行政区划: {
        city_code: '659000',
        province: '新疆维吾尔自治区',
    },
    台湾省: {
        city_code: '710000',
        province: '台湾省',
    },
    香港特别行政区: {
        city_code: '810000',
        province: '香港特别行政区',
    },
    澳门特别行政区: {
        city_code: '820000',
        province: '澳门特别行政区',
    },
};

export function getCityCode(cityName: string): string {
    let result = '';
    for (const key in cityInfo) {
        if (key.includes(cityName)) {
            result = cityInfo[key].city_code;
            break;
        }
    }
    return result;
}
